﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site2.Master" Inherits="System.Web.Mvc.ViewPage<Dissemination.MVC.ViewModels.ParticipantManagerViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Create participant</h1>

    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>
             
            <%= Html.EditorFor(model => model.Participant, new { Model.Genders, Model.ProfessionalBackgrounds, Model.Specialities }) %>

    <% } %>
    
    <p class="enlaces">
                <a href="#" onclick="document.forms[0].submit()" > Save </a>
            </p>

<div class="navigation">
    <p class="enlaces"> <%= Html.ActionLink("Back to seminar page", "Details", "Seminar", new { id = ViewContext.RouteData.Values["seminarid"] }, null)%></p>
</div>

</asp:Content>

